package com.mocha.bss.domain.org.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.coffee.mybatis.BaseEntity;
import lombok.*;

/**
 *
 * 区域信息
 *
 * @author songkui
 * @since 2025-03-24
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(of ={"id"}, callSuper = false)
@TableName("org_admdiv")
public class AdmdivEntity extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long code;

    private String name;

    private Integer level;

    private Long parentId;

    private String path;

    private String fullName;

    private Integer sort;

    private String lat;

    private String lng;

}
